<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To create a header file</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<BODY>

<h1>To create a header file</h1>
<ol>
<li>Open Microsoft Notepad or another text editor.
<li>Create an entry for each symbolic ID, followed by its corresponding numeric ID, using the following format:
<p><code>#define IDH_symbolicID &nbsp;&nbsp;&nbsp;1000</code></p>
<p>Where <code>symbolicID</code> is the symbolic ID for part of the program (such as a dialog box or control) and <code>1000</code> is the numeric ID. The numeric IDs in the header file are used only by the HTML Help compiler. The compiler maps numeric IDs in the header file to help topics.</p>
<li>Save the file with a .h extension.

</li>
</ol>



<p>The following sample header file is taken from HTML Help Workshop:</p>

<img src="header_sample.gif" alt="Sample header file">

<br>

<h3>Note</h3>
<ul>

<li>If you use an <code>IDH_</code> prefix with the symbolic ID, as shown in the example above, HTML Help Workshop will automatically check that the topics mapped in your project file actually exist in your compiled help (.chm) file, and that your context-sensitive help topics are all mapped in your project file.


</li>
</ul>

<table border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top"><A HREF="cxt_p_textpop.htm"><img src="step3.gif" alt="Process step" border="0"></a></td>
<td><a href="cxt_p_textpop.htm">Create a [TEXT POPUPS] section in a project file</A></td></tr>
<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
</table>

</body>
</html>
